package com.yunxi.model.sto;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 基础报告日报表
 * </p>
 *
 * @author caoYong
 * @since 2019-09-20
 */
@Data
@TableName("pms_daily_report")
@ApiModel(value="DailyReport对象", description="基础报告日报表")
public class DailyReport implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "线下新增线索")
    @TableId(value = "REPORT_ID", type = IdType.UUID)
    private Integer reportId;

    @ApiModelProperty(value = "线下新增线索")
    @TableField("NEW_CUSTOMER_COUNT")
    private Integer newCustomerCount;

    @ApiModelProperty(value = "线上新增线索")
    @TableField("NEW_CLUE_COUNT")
    private Integer newClueCount;

    @ApiModelProperty(value = "线索总计(线下加线上)")
    @TableField("ALL_CLUE_COUNT")
    private Integer allClueCount;

    @ApiModelProperty(value = "H级线索")
    @TableField("NEW_CLUEH_COUNT")
    private Integer newCluehCount;

    @ApiModelProperty(value = "A级线索")
    @TableField("NEW_CLUEA_COUNT")
    private Integer newClueaCount;

    @ApiModelProperty(value = "B级线索")
    @TableField("NEW_CLUEB_COUNT")
    private Integer newCluebCount;

    @ApiModelProperty(value = "C级线索")
    @TableField("NEW_CLUEC_COUNT")
    private Integer newCluecCount;

    @ApiModelProperty(value = "其它级别线索")
    @TableField("NEW_CLUED_COUNT")
    private Integer newCluedCount;

    @ApiModelProperty(value = "今日回访(跟进次数)")
    @TableField("NEW_RVISIT_COUNT")
    private Integer newRvisitCount;

    @ApiModelProperty(value = "再次邀约(非首次跟进人数)")
    @TableField("VISIT_AGAIN_COUNT")
    private Integer visitAgainCount;

    @ApiModelProperty(value = "今日试驾")
    @TableField("NEW_DRIVE_COUNT")
    private Integer newDriveCount;

    @ApiModelProperty(value = "今日小订")
    @TableField("NEW_SORDER_COUNT")
    private Integer newSorderCount;

    @ApiModelProperty(value = "今日大定")
    @TableField("NEW_BORDER_COUNT")
    private Integer newBorderCount;

    @ApiModelProperty(value = "合同签署")
    @TableField("CONTRACT_SIGN_COUNT")
    private Integer contractSignCount;

    @ApiModelProperty(value = "今日交车")
    @TableField("NEW_HANDLE_COUNT")
    private Integer newHandleCount;

    @ApiModelProperty(value = "高意向线索率(H+A/总)")
    @TableField("HIGH_CLUE_PERCENT")
    private BigDecimal highCluePercent;

    @ApiModelProperty(value = "再次邀约率(再次邀约/总)")
    @TableField("VISIT_AGAIN_PERCENT")
    private BigDecimal visitAgainPercent;

    @ApiModelProperty(value = "试驾率(试驾/总)")
    @TableField("TEST_DRIVE_PERCENT")
    private BigDecimal testDrivePercent;

    @ApiModelProperty(value = "大定率(大定/总)")
    @TableField("BORDER_PERCENT")
    private BigDecimal borderPercent;

    @ApiModelProperty(value = "交付率(交车/大定)")
    @TableField("HANDLE_PERCENT")
    private BigDecimal handlePercent;

}
